<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>新品展示</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
</head>

<body>
<div>
    <div>新品展示</div>
    <br/>
    <s:set value="#request.newflowers" id="newflower"/>
    <s:iterator value="#newflower" id="flower">
        <div class="newflower">
            <s:form theme="simple" action="shoppingAction" method="post">
                <img src="assets/pic/<s:property value="#flower.picture"/>"/>
                <br/>
                <s:property value="#flower.flowername"/>
                <br/>
                <s:property value="#flower.price"/>元
                <br/>
                数量<s:textfield size="4" name="quantity"/>
                <input type="hidden" name="id" value="<s:property value="#flower.flowerid" />">
                <s:submit value="购买"/>
            </s:form>
        </div>
    </s:iterator>
</div>
<jsp:include page="foot.jsp"/>
</body>
</html>
